package teach.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import teach.aistar.mapper.NoticeMapper;
import teach.aistar.model.entity.Notice;
import teach.aistar.service.INoticeService;



@Service
@Transactional
public class NoticeServiceImpl implements INoticeService {
    @Autowired
    private NoticeMapper noticeMapper;
    @Override
    public int insert(Notice notice) {
        return noticeMapper.insert(notice);
    }
}
